#![cfg_attr(
  all(not(debug_assertions), target_os = "windows"),
  windows_subsystem = "windows"
)]

fn main() {
  tauri::Builder::default()
    .run(tauri::generate_context!())
    .expect("error while running tauri application");
}
// use std::io::prelude::*;
// use std::fs::OpenOptions;

// fn main() -> std::io::Result<()> {
   
//     let mut file = OpenOptions::new()
//             .read(true).write(true).open("D:\\text.txt")?;

//     file.write(b"COVER")?;

//     Ok(())
// }
// mod setup;

// fn main() {
//     let context = tauri::generate_context!();
//     tauri::Builder::default()
//         .setup(setup::init)
//         .run(context)
//         .expect("error while running OhMyBox application");
// }
